#pragma once

#include "LogDefine.h"
#include <string>
using namespace std;
namespace Utility
{
    namespace LoggerLib
    {
        int InitLogger(unsigned long dwLevelMask = ALL_LEVEL, 
            unsigned long dwExecutorMask = FILE_EXECUTOR,
            const wstring& strLogFilePath = DEFAULT_LOGFILE_PATH/*L"C:\\Debug"*/);
        
        bool IsLogInitialized();

        int Log(ELOGLEVEL eLevel, ELOGMODULE eModule, const wstring& strMessage);

        int Log(ELOGLEVEL level, ELOGMODULE eModule, wchar_t* strFormat, ...);
    }
}